package com.wuyou.designPatterns.bridge.function;

import com.wuyou.designPatterns.bridge.impl.DisplayImpl;

public class CountDisplay extends Display{

    public CountDisplay(DisplayImpl impl) {
        super(impl);
    }

    public void multiDisplay(int times){
        open();
        for(int i=0;i<times;i++){
            print();
        }
        close();
    }
}
